package jnpf.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jnpf.entity.ZXGL_DuBanXiangMuEntity;
import jnpf.entity.ZXGL_LiXiangGuanLiXiaLaKuangEntity;
import jnpf.mapper.ZXGL_LiXiangGuanLiXiaLaKuangMapper;
import jnpf.service.ZXGL_LiXiangGuanLiXiaLaKuangService;
import org.springframework.stereotype.Service;

/**
 * @ClassName ZXGL_LiXiangGuanLiXiaLaKuangServiceImpl
 * @Version 1.0
 **/
@Service
public class ZXGL_LiXiangGuanLiXiaLaKuangServiceImpl extends ServiceImpl<ZXGL_LiXiangGuanLiXiaLaKuangMapper, ZXGL_LiXiangGuanLiXiaLaKuangEntity> implements ZXGL_LiXiangGuanLiXiaLaKuangService {

    @Override
    public ZXGL_LiXiangGuanLiXiaLaKuangEntity getXlkNameById(String name){
        QueryWrapper<ZXGL_LiXiangGuanLiXiaLaKuangEntity> queryWrapper=new QueryWrapper<>();
        queryWrapper.lambda().eq(ZXGL_LiXiangGuanLiXiaLaKuangEntity::getF_FullName,name);
        return this.getOne(queryWrapper);
    }
}
